package com.adgox.tiantianbiting.bean;


import java.io.Serializable;

/**
 * Created by tang on 2018/12/24.
 */

/**
 * 用来接收code类型为String的基础bean
 */
public class BaseResponseBean<T> implements Serializable {
    String code ;
    String message;
    T data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "BaseResponseBean{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }
}
